/**
 *
 * @param data
 */
function renderPage(data) {
    let html = '<div class="list-user">'
    for (let i = 0,len = data.length;i < len; i++) {
        html += `<div class="item">
                      <div class="label">${data[i].name}</div>
                      <div class="order">${data[i].order}</div>
                      <div class="address">${data[i].address}</div>
                      <div class="info">${data[i].info}</div>
                 </div>`
    }
    html +='</div>'
    return html
}

module.exports = {renderPage}
